package com.tyk.bookstore.front.member.model.result;


import com.tyk.bookstore.front.common.core.model.result.ResultEnum;

public enum DeliveryAddressResultEnum implements ResultEnum {

    ADDRESS_NOT_FOUND(4_02_02_01, "收货地址不存在"),
    ADDRESS_NUM_EXCEED_LIMIT(4_02_02_02, "地址数量超过限制");
    
    private final Integer code;
    private final String msg;

    DeliveryAddressResultEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public Integer getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }
}
